It doesn't matter. You have the 485 pending status even if your H-1 expires. But you cannot work until you get your EAD.