No. An advance rent payment isn’t a deposit, so it won’t be returned to you when you check out.
The payment is put towards your first rent instalment at the start of your tenancy.