If Tenant A is trying to sublet their apartment, and the landlord finds/executes the sublease and receives payment from the new Tenant B, terminating the existing lease with Tenant A.
Is there any challenge or illegality to Tenant A staying in the unit until the last hour/day, which would prevent the landlord from entering the unit or doing any renewal prior to the following morning when Tenant B has their lease formally begin? If the landlord has proposed this non-window, are they liable to Tenant A or Tenant B in some wayx?
The situation proposed is not a sublet, it's a new lease by the landlord to a new tenant. It would not be an adversarial re-leasing, e.g. current lease holder wants to go, landlord is ostensibly OK with them going.
The thing I am trying to zero in on was the work/refresh/renovation that needs to be done between tenants, and if they landlord can expect to do it while Tenant A is still paying (up to the date of the 'lease change'), but expecting that Tenant A has vacated before that date, or allows the work to be done while they are still occupying? NY state seems to enforce a clause for sufficient notice to a current tenant before performing necessary work on the unit.
This area of law/codes is not very detailed, and I suspect that anything to go on just exists in precedent and related courthouse decisions.