In New York, the quit notice should be served in the following cases:
The lease has ended but the landowner has been collecting rents
There is no written lease but you pay rent every month
The landowner wants to evict the tenant before the expiry of the lease
It is a rent-regulated housing
Lease stipulates it