Actually, you just need either H1B status or EAD to work. To my knowledge, you can apply for EAD after your filed I485 for 6 months. Even when the 6-year H1B is due, you can apply for 7th year H1B if there is still no response from I140/I485 or even LC after one year.