According to my information, you have to meet 'Relevant UK individual' definition.
As you are working abroad and not paying UK taxes, the only part of the definition applicable to you is:
The individual is resident in the UK at some point during the tax year; or was resident at some time during the five tax years immediately before the year in which the contribution is made. Relief in these circumstances is limited to £3,600.
Hope that helps.