Go with the advice of Ra7mat. I had the same experience. When my work visa was cancelled, I exited the country then my husband just filed family visit visa for me and voila after a week I'm back in Qatar. Just make sure you have all required documents prepared so you can get the visit visa of your wife in 2 - 3 working days. When she's here, you can apply for a family visa for her:)