Ideally you should do so before her K1 90 days authorized stay expires to ensure she doesn’t accumulate any unauthorized stay presence. Of course an unauthorized stay presence will not prevent her AOS petition from being approved when you eventually apply for her GC (assuming you decide to wait past the 90 day mark), it just means she’s deportable starting from day 91. My recommendation is borrow money if you have to, and file right away.