I remember hearing in a daf yomo shiur (and I want to find where is it written) something similar to this: it is preferable not to marry a divorced woman (if her ex-husband is still alive) because it might not be good for your future children (since she might be thinking about her first husband, but that if she is a widow then there is no fear of this.)
Please help me find where something like this is written.