Her AP will automatically void when your I-140 is denied. But if you have other legal status like H1b, you can file H4 petition for her if your I140 is denied.