I have a valid H1 and my visa is stamped from 1st company. Now 2nd company has offered me a job and they need me immediately over there and initiated premium processing for cap exempt petition. Is it legal to travel over there when the petition is in pending state? If the new petition is denied/rejected do I need to leave the country immediately or can I stay for one or two months? I have to travel along with my family. I have valid B1/B2 as well, but my wife and son has only H4 visa.