A foreigner who wishes to be form a company must be above 18 years of age and have a principal or only place of residence within Malaysia (Section 122 of the Company Act 1965).
Look here for more details: A foreigner can register a company in Malaysia