You cannot, for essentially those reasons. You're living in an Islamic country, and that's the law of the land.
I suggest you do your research very carefully before jumping into something. There are a lot of things you should consider before accepting an expat job, and a LOT of the things you take for granted in the states DO NOT apply overseas. There are a lot of people doing it very successfully, but you need to know what you're getting into before you excitedly sign up for a job as a widebody pilot. Use the search function on this sight, there's a ton of info on here about Emirates and many other companies. If you really want to scare yourself, go to PPRUNE and do the same thing. Take it all with some salt, and make an informed decision.