It helps if you have a dark sky, but you can take images of the night sky even from a backyard in a big light-polluted city. Just as important is moonlight. Even if you are in the darkest place on the planet, a full Moon will have a worse effect on your night sky photos than light pollution. The best time for nightscape photography is the 10 nights before the New Moon, when the skies are at their darkest.