Of course the lease can rerent the rental unit. Many landlords feel uncomfortable with an empty unit, fearing increased chances of break-ins.
If it is rented in January (and rent is collected from the new tenant for that month) , the landlord would need to compensate you for the rent you paid for that month.
Gail