This is a question for a Real Estate Attorney to answer. Call the county to see if they have a legal help line
or other assistance.
Hope this helps,
Real Estate Broker
If your property management company is advising you to move because of the impending foreclosure, they shouldn't have a problem putting that in writing. I would ask them to draw up a document that clearly states they are releasing you from the lease with no penalities and no forfeiture of any deposits they might be holding on your behalf. It sounds like the only reason you are moving is because of the foreclosure and that is a problem you did not cause. I can't see why or how they could hold you to the lease, however, if they don't want to provide you a release, you should seek legal advice.
Best of luck,
Coldwell Banker Residential Real Estate