For the purposes of this section, the term "hotel" or "motel" shall mean and include any facility consisting of rentable units that provides lodging on an overnight basis.
The rates of such tax imposed upon persons occupying hotel or motel rooms shall not exceed four per cent of the per diem rental rate for each room, provided, however, such tax shall not be applicable to a permanent resident of such hotel or motel. For the purposes of this section the term "permanent resident" shall mean a person occupying any room or rooms in a hotel or motel for at least ninety consecutive days.
N.Y. Tax Law § 1202-L