I'm annoyed at my coworker/friend for constantly bringing up her abuse/sad life
Does it affect your friendship?
Yes, I feel uncomfortable when she tells me about her sad life. She just wants attention.
Your friend may be indirectly asking you for help here. Helping her now will cause her to overcome whatever is going on in her sad life and the both of you will be happier for it.
I'm only here for a paycheck and I don't have time to deal with all this.
It's not very nice to ignore your friend when they're sad. Being nice always pays off, you should be sympathetic to her and help her with the situation. I'm sure that will make you happy.