23. Judicial separation.—
A petition for judicial separation may be presented to the district court either by the husband or the wife,—
on any of the grounds specified 1[in sub-section (1)] 2[and sub-section (1-A)] of section 27 on which a petition for divorce might have been presented; or
on the ground of failure to comply with a decree for restitution of conjugal rights, and the court, on being satisfied of the truth of the statements made in such petition and that there is no legal ground why the application should not be granted, may decree judicial separation accordingly.
Where the court grants a decree for judicial separation, it shall be no longer obligatory for the petitioner to cohabit with the respondent, but the court may, on the application by petition of either party and on being satisfied of the truth of the statements made in such petition, rescind the decree if it considers it just and reasonable to do so.