Dear @MahmudulMunshi,
Welcome back to the Wefugees Community and thank you for reaching out to us again.
Do I understand correctly that both you and your wife hold a permanent residence permit (Niederlassungserlaubnis)?
In that case, I don't see a reason why a divorce could have an influence on her status in Germany (as long she continues to live here and won't be abroad for more than 6 months).
Am I right on this dear @alla_fka?
Best wishes, Meike