You do understand that people advertise apartments available for rent before the previous tenant has moved out...
In Québec, the majority of leases end on July 1st and you have a number of people moving on that day which is quite greater than the vacancy rate. You can sign a lease for a new apartment months ahead of time.