When you file for bankruptcy, you immediately qualify for an automatic stay against creditor actions. This includes landlords evictions. Depending on why you’re being evicted, the automatic stay can buy you significant time to either come up with money or move out of your rental without being forced out by your landlord.