Your UK residence status affects whether you need to pay tax in the UK on your foreign income. Non-residents only pay tax on their UK income - they do not pay UK tax on their foreign income. Residents normally pay UK tax on all their income, whether it's from the UK or abroad.