In Switzerland it's mostly about taxes, the tax rates change based on the canton and town, often widely so. It's also about voting rights, but it's much less a concern.
I think in countries where the majority of tax receipts come from income tax, they care a lot more about where you live than in countries like the US (and Australia apparently?) where they rely more in property taxes.