Keeping one organization in its onpremise environment and moving the other organization to ExchangeOnline in a hybrid Exchange arrangement, then onboarding the other organization to onpremise before decommissioning ExchangeOnline.
Setting up hybridExchange and moving users from both organizations either to onpremise or ExchangeOnline as their job function dictates.