Contrary to popular belief, there are no "clear cut" rules as to who a child should live with ("custody") or spend time with ("access").
What’s essential for the Court when deciding which parent the child will reside with is for the child’s best interests. This also determines how much time the child will spend with the other parent.
The Family Law Act 1975 lays forth the factors to consider while deciding the child's best interests.