Yes, there is a provision in Civil Procedure Code for judicial separation. According to Section 608(1), application for a separation on any ground on which by the law applicable to Sri Lanka such separation may be granted, may be made by either husband or wife by plaint to the District Court, within the local limits of the jurisdiction of which he or she reside, and the court, on being satisfied on due trial of the truth of the statements made in such plaint, and that there is no legal ground why the application should not be granted, may decree separation accordingly.
If you want you can dissolve your marriage after two years of the judicial separation.
If you want you can dissolve your marriage after two years of the judicial separation.