Based upon what you have written, you were served with a three (3) day notice to pay rent or quit. Under the laws of all states in this country, if you comply with the request and make the demanded payment timely, you are entitled to remain in the premises. Make sure you get a receipt for any overdue rent paid from the landlord.