theoretically speaking it's possible. HOWEVER,
you need to be extremely careful. During the citizenship interview the USCIS officer will ask you where do you live no, where do you work now etc... if he will then think that you don't currently reside (live & work) in the US he will deny your application.
Wheat I suggest is that before you apply for citizenship and while you are waiting for your interview you'll come back to live & work in the US to show that your main place of residence is the US.