Working abroad for a non-US employer is a big no-no for naturalization. There's no way you're getting approved if you're still working there during the naturalization process. But you have a realistic (although not very good) chance of approval if you apply after having left that job and stayed in the US for a few months.
Is it a contract job with a specific end date? If not, or if you extended the contract for a significant amount of time past the original end date, you'll find it hard to convince them that it was a truly temporary arrangement.
Even our current absence is temporary, since the job that I have over in UAE is not going to last forever.
But they give visas that can be renewed over and over for a long time.
And for those who are familiar with the visa regulations over here, they know that one cannot get permanent residency status ever.
PD: Jan 2003 (EB3 rest of world)
I-485 Approved: July 2007
I am a layman, not a lawyer. What I write here is not official or professional legal advice. In addition, my answers on this forum are specific to the scenarios discussed in each thread and should not be generalized to other situations.