My original answer was very ignorant and short. But these days I'm on a kick to fully understand Divorce from a biblical standpoint. This is a massively argued topic and nearly every sect has a different point of view. This answer will use logic to try and understand divorce more.
1. Divorce is permitted
Albeit, a blatant declaration, but nonetheless we must accept this as a true premise. We will dive deeper into the specifics, but we first need to understand that we can even entertain this notion.
Matthew 19:8
New International Version (NIV)
Jesus replied, “Moses permitted you to divorce your wives because your hearts were hard. But > it was not this way from the beginning.
We let Jesus interpret this premise for us. Clearly, it was Moses who permitted men to divorce their wives. So this beg's the question, is divorce a sin in every instance because it was not God permitting us, but Moses?
The answer is no, Divorce is not a sin. You would be right to expound upon my generalization and state that there are exceptions, and I would agree, but we'll get to that next.
Jeremiah 3:8
New International Version (NIV)
I gave faithless Israel her certificate of divorce and sent her away because of all her
adulteries. Yet I saw that her unfaithful sister Judah had no fear; she also went out and
committed adultery.
You see, if Divorce was a sin in every instance, then God himself would NOT have done it, for God does not sin. For those of you who like to distinguish between "sending her away" and "divorce", notice that God has done both to Israel in His statement.
We also see that God vehemently state's what He has done and that it has enuled the marriage.
Hosea 2:2
New International Version (NIV)
Israel Punished and Restored
2 “Rebuke your mother, rebuke her,
for she is not my wife,
and I am not her husband.
Let her remove the adulterous look from her face
and the unfaithfulness from between her breasts.
So, if Divorce is permitted, is it permitted under every circumstance? Well, before we can even begin to define a premise for this one, we should start with the reasoning for God divorcing Israel.
Ezekiel 23:37-38
New International Version (NIV)
37 for they have committed adultery and blood is on their hands. They committed adultery
with their idols; they even sacrificed their children, whom they bore to me, as food for
them. 38 They have also done this to me: At that same time they defiled my sanctuary and
desecrated my Sabbaths.
Did Israel physically have sexual relations with another God? No.
Did Israel ask God for a divorce? No.
God recognized that Israel was unfaithful to the marriage. Israel had no intention of being obedient, faithful, or loving to God. Israel committed adultery, idolatry, murder and defiled God's sanctuary.
I feel that we have enough information to form a generalized premise based off of this event.
2. Divorce must be for a "Just-Cause"
It's important that we categorize the divorce between God and Israel as a "Just-Cause". For God is a Just and Righteous God. God has basically explained to us that Israel has broken nearly all of the Commandments and committed sin against Him.
3. The purpose to life is to learn how to Love.
I am going to throw out this third premise, because it will give us rejuvenation in our marriages, so that we may understand that we should strive to have unconditional love and an infinite amount of forgiveness. Remember the prayer? "Please forgive me of my sins as I forgive the sins of others?" Yea, we're judged by our own standards.
4. If it causes you to sin, cut it off
Matthew 18:8
New International Version (NIV)
8 If your hand or your foot causes you to stumble, cut it off and throw it away. It is
better for you to enter life maimed or crippled than to have two hands or two feet and be
thrown into eternal fire.
5. If a man leave his wife and children for God, he will receive a thousand fold.
Matthew 19:29
New International Version (NIV)
29 And everyone who has left houses or brothers or sisters or father or mother or wife[a]
or children or fields for my sake will receive a hundred times as much and will inherit
eternal life.
Concluding way to early
There's so much more to talk about. But I wanted to give you a few premises that will help you make your decision.
You see God did divorce Israel for a just-cause. God also tells us to not sin against Him, but to be obedient to Him in everything that we do. So I will conclude with this logical statement.
If your spouse is causing you to be disobedient to God, or has a wicked nature that gives rise to a Just-Cause, and you feel that you have done everything that you can do to correct it, then it may be beneficial for you to Divorce your wife.
Keep in mind however, that this is one logical conclusion, but may in no way be the correct answer. Your soul depends on you doing more research.