If a company is going to pay for you to have a good/happy living conditions, and disposable income, then adjusting some of the pay by location makes sense.
The best scenario is when they split the difference and it becomes a win win scenario.
At the end of the day a company will pay as much as the market bears for their long term retention strategy (e.g. 94% voluntary retention).