I140 , Priority Date If you Leave USA

I have I140 approved for more than 6 months with my current employer but my priority date is not current and not expected to be current in many years.

I am planning to leave USA and work for the same company outside the USA.
Will I be able to hold my Priority date if I leave USA. Is there a restriction on the time I can be outside USA?

Thanks in advance for you help!

yes you continue to hold your PD.