You can always be evicted for not paying rent. If you have a bankruptcy filing then there is a way to get the unpaid rent taken care of via another method, and that can help in keeping the landlord from succeeding on an eviction case against you. It could be filed in the bankruptcy court or in the regular JP/eviction court (after getting the automatic stay lifted). But either way, filing bankruptcy does not mean you can force the landlord to keep you in his property for free. Subject to some non-bankruptcy laws about preventing housing discrimination, a landlord doesn't have to give a new lease to someone he doesn't want to; bankruptcy doesn't change that.
Answered on Jul 10th, 2013 at 6:53 PM