That is a tough one! It sounds a wee bit over the line, but she sounds like she is looking out for you! Maybe she is concerned that you wouldn't consider divorce as an option. If your husband is willing to work on his issues then divorce seems like bad advice. However, if he is refusing to budge maybe that's why she is urging you to think about it (not the same as acting on it!) I can see the unfairness of one partner trying to grow and improve while the other does no relationship work at all.
Geez, I hope I'm not stepping over a line myself!