You have to hold an offer before you file I-485. However, I don't know the new regulations on filing I-140 and I-485 together.