If you did H-1b transfer, you can work when the petition is pending. If you ask another company to file a new H-1b petition, you can not work until it is approved.