If you do not give proper notice (60 days typically), your tenancy might continue for a period of time after you depart which means you could owe rent for that time, potentially then paying rent for two places.