People leaving and rejoining Amazon is supercommon. That includes Principals. It feels like most people who have been at the company for 8+ years have been out of the company for some of the period. And you can even get the colored badge for tenure from non-consecutive employment.