If you want to use AP to re-enter USA, you must apply EAD before you leave, and show EAD with your AP at the port. You will not be in H1b status since then, and have to have EAD in order to work