Hi,
If the spouse is not a crown servant, then they are treated as being non UK resident for tax purposes.
Any income / capital gains arising while overseas would be taxable in the other country of residence, provided there is a tax treaty between the UK and that country.
You will find the list of tax treaties at:
Tax treaties