You never could. Before suburban mass transit became a thing, enabling low ~80% of Paris workers to live outside and commute every day, they had to live in Paris. They all lived in communal apartments, several unrelated people per room, in most awful conditions imaginable just because of density (see "Down and Out in Paris and London").