As long as the losses arose from selling shares for less than they were acquired for (and are not, for example, "paper" losses) then yes. Any capital loss can be carried forward indefinitely and set against subsequent capital gains when calculating one's CGT liabilities.