did you have children with your ex, if so it is appropriate pay your respects to them. if not it is a judgement call depending on the relationship with your ex, i find it hard to believe she would be upset at you for going but i would limit it to just the wake, if they have one.