even you work for 1 month only you are entitled for NOC,the problem is all depends on your employer/company.