If you leave the United States while your application is in process, USCIS will assume you have abandoned your pursuit of a Green Card and you will have to start the process again. You can apply for "Advanced Parole," which would allow you to travel freely while your application is pending. Talk to our Attorney On-Call about Advanced Parole.