
Quoting
Q: Can the landlord end my lease?
A: If you have a lease with a specific expiration date, your landlord cannot evict you before that date unless you fail to pay rent, or otherwise default in some obligation under your lease which you fail to cure after receiving proper notice from the landlord.
If you do not pay your rent within five days after written notice of your landlord's written demand for payment, your landlord may terminate your rental agreement.
If you have a month-to-month lease or tenancy-at-will, the landlord can give you 30 days written notice, or you can give the landlord 30 days written notice to end the lease at any time.
If you have a week-to-week lease, the same rule applies, but you need only give or receive one week's notice.