Respectfully - can you give a little bit more detail. Long periods of time? a week? month?
Has a court application been made?
Is the other parent subject to an avo?
So if the other parent hasn't made contact for 3 years and is now applying to court then the judge is going to want to know why 3 years have passed and the answer to that will impact the rationale of the judge. But with the scant info you've provided it is impossible to give any thoughts.