This is dependent on what visa/ pass the foreign spouse holds. If the foreign spouse is on a work permit, it is still possible to stay on if the divorce does not impact their terms of employment. Declared divorces will result in the foreign spouse pass being revoked. But it is possible to still get a residence pass when there are children involved. Please see this pdf https://www.imi.gov.my/portal2017/images/pdf/PAS%20RESIDEN%20PORTAL%20IMIGRESEN.pdf under Section b: Janda / Balu / Duda kepada warganegara yang mempunyai Anak Kandung kepada warganegara ( Divorcée / Widow / Divorcé of a citizen with children)
Our Office
D-3-33, Block D, 8 Avenue Business Centre, Jalan Sungai Jernih 8/1, Seksyen 8 Petaling Jaya, 46050 Petaling Jaya, Selangor, Malaysia
(only on appointment basis)