I think the short answer to your question is yes.
Once you file AOS and travel outside without permission, USCIS normally consider you gave up to further process your AOS.
so you probably need to do I-131.
however, it takes around 3month to get AP, so even you apply for I-131, you might not get...