Section 2 | Persons chargeable.
From legislation.gov.uk
(1)Subject to any exceptions provided by this Act, a person shall be chargeable to capital gains tax in respect of chargeable gains accruing to him in a year of assessment during any part of which he is resident in the United Kingdom, or during which he is ordinarily resident in the United Kingdom.
(2)This section is without prejudice to the provisions of section 12 below (non-resident with UK branch or agency), and of section 38 of the Finance Act 1973 (territorial sea of the United Kingdom).