Residence Permit (visa) cannot be cancelled when person is out of country, you need to wait for your maid visa expiry or 6 months from the date of her exit (whichever comes first) to cancel her visa from Immigration. Other option is your maid to come to Qatar for 1-2 days to cancel her RP and go back again. No other way.