If you were curious about Apple’s policy regarding users who have sideloaded apps and leave the European Union for an extended period of time, the grace period is 30 days. Apple has updated its support page to specify that users will lose access to alternative app stores and updates to downloaded apps after the 30-day period. While users can still use third-party apps outside the EU indefinitely, they will no longer receive software updates after the grace period.

Apple specifies grace period for third-party app store access when leaving the EU

In the scenario where a user leaves the EU for 30 days and then returns, they will once again be able to update apps downloaded from third-party app stores. For users utilizing the new iOS 17.4 app sideloading feature, they must be physically located in one of the 27 EU member states or their overseas territories.

Source