For permanent residents: an absence exceeding two years may lead to cancellation unless authorised. This tracker uses a conservative 730-day threshold.
https://www.gacetaoficial.gob.pa/storage/gacetas/2008/02/25986/GacetaNo_25986_20080226.pdf