If your Residency was issued then I believe you've been registered into their system as a worker for a qatari company hence the answer to your question is yes, you will need a NOC even if you want to visit Qatar on a tourist visa.