This isn't quite true - Scotland's income tax rates are slightly different from the rest of the UK's, so residence inside or outside Scotland is relevant.
But that’s the same now. Work in Carlisle and live in Dumfries and you get a Scottish tax code. Work in Dumfries and live in Carlisle and you get an English one.