There is no clear answer here. The Labour Law states that the employer has to return you to the place he recruited you from (Qatar in your case). The NOC, however, is entirely at the discretion of the sponsor. A bit of a grey area. I know that many sponsors will give NOC in this situation since it is "home" but some will just be nasty and play God over your future.

You will only know if you ask.