You have to maintain a certain altitude over urban areas in the US, but it should be obvious to anybody who has overflown the Los Angeles basin and its network of airports (probably the best example) that there is no possibility to glide clear from 1000 ft.
Which is why the rules specifically allow an exemption for taking off & landing, in the FAR, in the ANO & in ICAO so it's probably the same everywhere.
Deliberately flying towards the suburbs, flying low over people's houses & then flying back to a rural airfield is a completely different matter.