For AP, my understanding is if you used AP, your status becomes Parolee. After you become a Parolee, once your I-140 or I-485 is denied, you have to leave US.