After a deploying parent returns from deployment until a temporary agreement or order for custodial responsibility established under sections 14-09.3-07 through 14-09.3-10 or section 14-09.3-11 through 14-09.3-21 is terminated, the court shall issue a temporary order granting the deploying parent reasonable contact with the child unless it is contrary to the best interests of the child, even if the time of contact exceeds the time the deploying parent spent with the child before deployment.