Sure you may apply for AP, while people in such situation reported they may use the AP for admission even it is approved after their leaving the US.