3 months. You can apply before the 3 months but it only becomes active after the 3 months wait. This assumes that they have come to stay permanently and are not just doing a "soft landing".
During the 3-month period, it is always better to have Health insurance from the private insurance carriers to cover unforeseen expenses due to medical condition.