Yes, as long as she has pending I485, she can apply for AP. However, she may not be able to use AP. Since she has been illegally stay in US for over 1 year, she may be barred from admission to US if she uses AP. Evaluate the risk before leaving US.
http://uscis.gov/graphics/publicaffairs/advisories/advisory.htm