So if you have an I-485 pending you should apply for an advance parole document and after approval, you can travel outside the U.S. It is important to note that leaving before getting your advance parole document will still result in abandonment. So make sure to get your document before you leave the U.S.