if you are not going to be a qatari you need an noc to be in qatar or you leave for two years and stay out of qatar and come back on a new visa..