Yes he or she can come back to qatar, if the former sponsor/company gives NOC to him/her to join a new company.