Actress Jennifer Garner was married to actor Scott Foley from 2000 to 2004 and Ben Affleck from 2005 to 2018 - and she's now shared her biggest piece of advice for women when it comes to settling down