I currently have a 5 year residence permit for the Netherlands but it is in a completely unrelated field. The residence permit was organized by the current company.
Any new company that I work for will also need to sponsor the residence permit. Most airlines in Europe will only hire people who already have unrestricted rights to live/work in the EU.