When to use the phrase lives in lives on and lives at?

I can live in a house, or a city, or a country, live on an island or on welfare, live at an address or home. I can also live out in the country...