My attorney said that if you want to extend your H1b, you must be in a non-immigrant visa status. If you are using EAD, you don't have that status, so you have to go out of country to apply for H1b again if you ever use your EAD.