Student and dependent Pass

Hello guys

I am planning to complete my PhD degree in Malaysia,i am moving with my husband and we want enter Malaysia together simultaneously as i can't handle the relocation by myself

We are planning to apply for a dependent Pass pass too.

So is it possible if we enter Malaysia together before i get my students pass( he can enter of a free 90 days visa) than he leaves to a nearby county and re enter later to apply for the dependent Pass.