Hi,
Since 6 April 2017, you need to have been resident outside the UK for 10 consecutive tax years before you can access a QROPS pension (before April 2017, the requirement was five consecutive tax years).
However, even if you satisfy the 10-year rule, you may still fall under UK tax rules if you withdraw from a QROPS within five years of switching from a UK-based pension.
Further information is at
Tax treatment of QROPS
Thank you.