Yes – if you are UK resident you may be liable to Capital Gains Tax on disposals of assets located anywhere in the world, (not just in the UK).
If you are non-resident, you may also be liable to Capital Gains Tax on the disposal of UK land and property.
There are special rules for Capital Gains Tax purposes that apply to individuals who are normally resident in the UK but are temporarily resident outside the UK (broadly this generally means those who are non-resident in the UK for less than five years).