N.Y. Comp. Codes R. & Regs. tit. 9, § 2504.4
(4) No action or proceeding to recover possession pursuant to this subdivision shall be commenced in court unless and until the owner shall have made application to the division and the division has issued an order permitting the owner to commence such action or proceeding in court and, in addition, where such order is subject to certain conditions and terms, until such conditions and terms have been complied with.
(b) Withdrawal from the rental market.
The owner has established, upon application on the prescribed form, to the satisfaction of the division after a hearing and under such conditions and terms as the division may set that he seeks in good faith to withdraw occupied dwelling units from both the housing and nonhousing rental markets, without any intent to rent or sell all or any part of the land or structure.
(c) Other grounds.
The owner has established upon an application on the prescribed form, after a hearing and under such conditions and terms as the division may determine to be warranted that the requested removal or eviction of the tenant is not inconsistent with the purposes of the act or this Chapter and would not be likely to result in the circumvention or evasion thereof. No action or proceeding to recover possession shall be commenced in court by the owner where he is proceeding under subdivision (b) or (c) of this section, until the owner has made application to the division and the division has issued an order permitting the owner to commence such action or proceeding in court and, in addition, where the order of the division is subject to the owner complying with specified conditions and terms, that the said conditions and terms have been complied with.
(d) Primary residence.
The housing accommodation is not occupied by the tenant, not including subtenants or occupants, as his or her primary residence, as determined by a court of competent jurisdiction.
(e) Election not to renew.
Once an application is filed under this section, with notification to all affected tenants pursuant to section 2504.3 of this Part, the owner may refuse to renew all tenants' leases until a determination of the owner's application is made by the division. For the purposes of subdivisions (b), (c) and (f) of this section, service of the application at any time shall be considered sufficient compliance with section 2504.3 of this Part. If such application is denied, or withdrawn, prospective renewal leases must be offered to all affected tenants within such time and at such guidelines rates as directed in the division's order of denial or withdrawal.
(f) Demolition.
(2) Terms and conditions upon which orders issued pursuant to this paragraph authorizing refusal to offer renewal leases may be based:
(ii) The order granting the owner's demolition application shall provide that the owner must either:
The landlord shall not be required to offer a renewal lease to a tenant, and may maintain an action or proceeding to recover possession in a court of competent jurisdiction only upon one or more of the following grounds:
(a) Occupancy by owner or immediate family.