You would need to check details of your ceremony to ascertain whether it complied with civil law regulating marriages in the country in which you were married. If it did not, you will not be legally married and as such, do not have the status of a spouse. Neither will you need to get divorced in civil law (but there might be a religious process you wish to go through). Even if you are not married, there may be legal remedies available to you – as a cohabitant or as a parent.