you need NOC to transfer sponsorship even if you exit the country when your contract will be finished.