This exists in some cities in the United States, but it's usually older cities like New York and Chicago.
The plus side, is that often if you have a building with district heating, you will also have district cooling.
On a somewhat related note, some of the buildings in Chicago heat and cool themselves with water pumped directly from the Chicago River. Lake Michigan acts as a giant thermal reservoir. ("Cooler by the lake," as the TV weathermen say.)