The Upper West Side’s historic Ansonia apartment building cannot evict a rent-stabilized tenant just because she was gone for six months or more in three consecutive years, a housing court judge has ruled, finding that her entire tenancy must be considered.

Judge Cheryl Gonzales (See Profile) denied the Ansonia’s motion for summary judgment against the tenant, Shelly Hall, on June 5, but did so without prejudice, leaving open the possibility for further discovery into Hall’s residence.