Your residency would have been valid for 6 months after you left the country as you cannot cancel an RP if the passport is not handed to immigration.

Your ban will be for 2 years + 6 months after you left Qatar and even then as you did a runner you may be blacklisted from returning.

I am with Bald on this one, I hate people being so irresponsible. This is one of the reasons the sponsorship laws here are so one sided.