Does renters insurance cover your rent if you lose your job?

Yes. there is renter's insurance that offers optional "Involuntary Unemployment" insurance coverage.