Divorce is a terrible thing. It doesn't just affect the husband, wife and children going through the divorce; it also affects extended relatives and friends of the family.
In the Book of Exodus in the Bible, God's sixth commandment is "thou shalt not commit adultery." (See Exodus Chapter 20.)
Jesus told His followers that anyone who divorces commits adultery. If your parents are going through a divorce or your family has gone through a divorce, I can't speak to your specific situation. However, I can say in general that divorce is wrong.
The Bible says God has a much better way of looking at things than humans, "as the heavens are higher than the earth." God's solution for a couple going through a divorce is for them to remember that He instituted marriage in the first place. A married couple having problems should work out solutions to their problems according to His law and ways.
To prevent divorce from coming up in the first place, people should think long and hard before they get married. Things they should think about should include among other questions whether the person will truly be a good husband or wife, whether they will be a good father or mother and how do they treat the person who is planning to marry them.