wzhao1, if by visa you mean, your H1B visa stamp is expired, then you're still fine as stamp is just for entry, not for your continued stay. But if your H1B visa (i mean the approval -I797) has expired, obviously then your illegal (although I'm quite sure thats not what you meant) and can't get EC ...