my lawyer told me that
since you have an I-485 permanent residency application pending, you must either have (1) a valid, unexpired H-1B visa stamp in your passport; or (2) a valid, unexpired advance parole document to return to the US after a trip abroad.