If you are the person receiving the divorce proceedings, there will be a form in the pack of papers that you get from the court for you to complete and state whether you oppose the divorce. You have to return this form to the court within 7 days. If you oppose the divorce, then you have a further 21 days to file your formal court papers and pay the court fee to oppose or ‘defend’ the divorce.
Most people do not defend a divorce because they accept that the marriage is over, just not for the reason given or for all of the reasons given. However, since behaviour and the reason for the divorce is rarely relevant to sorting out the finances, then most people will say they do not defend the divorce but they do not agree with all that is said and leave it at that.
There are some circumstances where you can refuse to co-operate with a divorce but you would need to get some legal advice, tailored to your situation, about whether you could do that.