You pose a rather good question, one that many tenants find themselves asking during these times. I am not a lawyer, nor is this legal advise. Whether you are on a month to month or lease you are required to pay the rent to the landlord/owner of the property until such time that he/she no longer owns the property.
A suggestion to you for know how the foreclosure is proceeding is to go to miamidade.gov site and go to online services, from there to civil/probate records search. You will click on stadard case search. You can insert the owner's last name and select mortgage foreclosure and you should be able to find the court docket for the foreclosure. If for example the property is set to go to auction you will be able to see that date there, and that will give you an idea of how soon you may need to leave the condo.
In addition, if the owner should stop paying the association fees, the condo association now has the right as of July of 2010 to collect the rent directly from the tenant in order to satisfy any delinquent association fees.
Navigate cautiously, but despite what the owner is doing, you still have to pay the rent if you do not wish to be evicted. As stated here, if the bank should take back the property, they often times offer incentives to existing tenants, but that is not a guarantee. You truly will not know until something acutally occurs. It is to the banks advantage to have you there, paying some rent and taking care of the unit which avoids any vandalism. If in doubt, your best best is to contact a real estate attorney that specializes in these matters.