Your i-94 must be based on an H-1B extension that recaptured some time in H-1B status for time you may have spent outside the US over the course of the past 5 plus years.  Your I-140 would have to be approved by the time your max in H-1B status would run out, which would most likely correspond to the new I-94 you received.  Keep in mind, however, that before you can file the I-140, the PERM has to be approved.  For PERM to be filed, your employer has to have at least 2-3 months of prefiling recruitment.  Then PERM is pending for a minimum of 3-5 months, these days.