In addition to what @nivenkos says, it lowers geographic demand for goods/services in the place you moved from, so costs in the old place go up slower (or even down)
because you moved, while also increasing demand (and in turn potentially increasing overall economic output) for geographic goods/services in the new place. It’s a levelling effect in both cases.
Of course, remote working also seems to often cause pay cuts to match local cost of living, and also opens the possibility of being outsourced to extremely low income nations (same effect to a larger degree, especially as it might not be the same person doing the work).