When using GDP as a gauge of living standards, people usually use PPP (purchasing power parity) measures, which adjusts for the cost of goods in different places.
Any such adjustment isn’t going to be perfect, and there are other quirks (tax havens have artificially high GDP figures), but it’s a lot closer to what you want.