It depends on how close your spouse is to them. For example, my father-in-law and I do not get along at all. But my husband is fine with that because he only visits once a year even though we live an hour away. The two of them have never been close so my husband doesn't mind that I don't get along with his father.
If your spouse considers it a problem, then you might have to do something. For example, my parents do not get along with my husband too much. And yes, we see my parents enough that it is an issue. So I've had to help my husband out a bit. He isn't used to the big family (he was an only child) and grew up with the house filled with alcohol (my parents are religious and won't allow it in the house). After discussions with my parents, they have relented a bit to fit our lifestyle. But there will always be little hickups.