Yes, a foreigner or local can be the director of a company however, one Singapore resident director is mandatory to register a company in Singapore.