irrespective of being a local hire or not, it is at the discretion of the employer if they will provide NOC or not, except if it was clearly mentioned in your contract or agreement that they will give NOC in case of resignation or termination.