Works exactly the same. If you're main home is in Scotland but you are also living and working in England then you could be a Scottish taxpayer if the Scottish residence is your main place of residence. Main place of residence equates to the one you are most connected with, not necessarily the one you spend the most time in. Tax on pension income works the same as tax on other earnings.