The department or agency of a city, town or village, responsible for the enforcement of the multiple dwelling law, the multiple residence law, or any other law, code or ordinance governing the occupancy and maintenance of residential property (hereinafter in this article referred to as "the department") may institute a proceeding in accordance with the provisions of this article for a judgment vesting in the city, town or village title to a dwelling which has been abandoned by the owner. This article shall not apply to a one-family or two-family dwelling occupied by the owner thereof.
N.Y. Real Prop. Acts. Law § 1970