If you use citizen-based application, you can submit I-130 and I-485 or EAD, AP at the same time. Usually EAD application takes one month to get approved and you can work legally while waiting. If you still wait for the greencard-based I-130 application, it may take two more years to get approved.