(1) A petition for judicial separation may be presented to the district court either by the husband or the wife,
- (a) on any of the grounds specified in sub-section (1) and sub-section (1A) of section 27 on which a petition for divorce might have been presented; or
- (b) on the ground of failure to comply with a decree for restitution of conjugal rights;
(2) 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.