Avoiding parents because of their marital problems

For the past year and a half I've had to see my parents just torture each other with their frustrations and words. It's killing me. I can't afford to live on my own yet so it's a roommate thing I have to deal with. I find myself staying out of the house a lot or staying busy in my room with noise to cancel out anything. It's been making me develope unhealthy behavior habits whenever I have to interact with them sometimes and I hate it. Is it bad that I'm avoiding them or do I have a right to just live my own life and not make their problems mine? I am so split on this.