You may qualify as a Malaysian tax resident if you are physically present in Malaysia for 182 days or more during the calendar year. Malaysia also has additional tax residency tests based on linked periods and presence or residence in previous and following years; this rule tracks only the standard 182-day test.
https://www.hasil.gov.my/en/individu/taraf-mastautin/?isStampsSite=false&lang=en