Yes. If a legendary planet’s planet card is purged, its corresponding legendary planet ability card is also purged.
Players can use the abilities on the legendary planet ability cards in their play area.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.