Various episodes disagree about the length of time the Hartleys were married before the series narrative starts.
There is a window behind the headboard of the Hartley's bed which shows a view of the city. However, if the orientation of the building's hallway is correct- apparently leading off to the left from the Hartley apartment front door, then the window should open onto it.