The information you have received is/was inaccurate.
Companies are not permitted to hold on to passports in the UAE, EK is not known to breach this rule for pilots or cabin crew. Processing a residence visa typically takes less than a week.
Initial training and lack of travel concessions are likely the only real impediments to maintaining your desired level of contact.
Good luck with your relationship. This is certainly not an impossible scenario.