As long as you are the owner of record on the property you can collect the rent. If you are behind on your payments, that is no reason for a tenant not to pay you. Afterall, you may hit the lottery and payoff your mortgage before the foreclosure sale date.
Your financial condition is not relivent to your tenant paying you rent. As long as you own the property you have the right to rent it out and collect the rent.

