Hi,
When I was applying or renew my H1B, the company lawyer always told me not to leave US when application pending. Otherwise, INS could believe you abandoned your application.
I am not sure whether it is true. You can confirm with your company lawyer.