Section 13 Divorce- (1) Any marriage solemnized, whether before or after the
commencement of the Act, may, on a petition presented by either the husband or
the wife, be dissolved by a decree of divorce on the ground that the other party-
(ib) has deserted the petitioner for a continuous period of not less than two years
immediately preceding the presentation of the petition;
Hi, as per Section 13(1)(ib) if the wife or husband has deserted more than two years you will get the divorce on the ground of desertion.