It depends. If your passport is not accepted to renew due to I-94 issue (though your pending receipt should do), you may renew it before your current I-94 expiration or after your status has been extended.