New York Lien Law:

Single Family Homes, Single Condominium Apartments – Your lien must be filed no later than 4 months from the last date of service.

Multi-Family Buildings, Cooperative Buildings, Commercial Buildings – Your lien must be filed no later than 8 months from the last date of service.