She cannot enter Qatar if her Resident Permit is already expired. Please make arrangement to renew it before she travels. She must enter Qatar at least one day before the expiry date.

I think you can renew before 3 months. Please check with immigration.