Should be NO problem. My example is I applied I140 first. But after about 6 months, my H1B(first 3 years) is expired (At that time, I140 is still in process). So I had to apply to renew my H1B(second 3 years). It's been approved.