Every room in an apartment house in which persons live, sleep, work or congregate, including kitchens, but excluding air shafts, elevator shafts, hallways and stairways, shall be adequately and naturally lighted and ventilated by at least on (1) window opening directly upon a street, yard or court which is located on the same lot, and such yard or court shall have an unobstructed exit to the street.