In Fallout 3, you can get a house in Megaton by talking to Sheriff Lucas Sims and agreeing to disarm the bomb. If you prefer the other path, Mr. Burke may offer you a house in Tenpenny Tower if you help destroy Megaton.