Charles Rutenberg Realty
Without giving you legal advice, I can say that in general you can be penalized for one month's rent, but it does depend on how often you pay rent. Read your lease first and see what it says.
Although I'm sure you know this and will do whatever you have to do per the terms of the lease, as info to others in a similar situation, I always like to remind tenants:
If you aren't given an "early out" of the lease, please continue to pay your rent, including the last month. A security deposit cannot be used in place of rent. Many landlords now report tenant problems to national rental databases and file delinquencies with credit bureaus - failure to pay rent will follow you and can make it very difficult to rent in the future.