He/she does not need to go outside of U.S. But if he/she wants to visit another country, he/she has to wait until the H1 petition to be approved to qualify for an H1 visa.