It depends on how the H-1B petition was filed. I suspect that it was filed not with a request for change of status but with a request for consular notification which means that after you get the waiver you will need to leave the US and apply for an H-1B visa at a US Consulate abroad.
unsure of this poster's situation, generally if your h1 is filed by not-for-profit orgs or academia,the h1s are not subject to the cap/lottery system and can be applied for anytime a legitimate job offer exists.