I think the #1 ranking derives from three factors.
One, the preseason poll results tend to very closely reflect the previous year's NCAA tournament outcome. This is true with this year's preseason ranking of the teams (e.g., Denver #3, I believe, despite losing some very good players to graduation), and was seen last year, when Stanford was ranked #1 in the preseason poll despite losing Jordan Morris, Brandon Vincent, and Eric Verso to the MLS. [Turns out Stanford won NCAAs again in 2016, but not before falling out of the top 25 early on.]
Two, although Stanford loses two very important players, as WIM noted, they don't lose any other starters, a number of whom are battle-hardened upperclassmen.
Three, they have a super strong freshman class, a few of whom I expect will be starting by mid-season. Carson Vom Steeg, in particular, is reputed to be stellar. (He's the son of the UCSB coach, by the way.) Here's a summary of their frosh, at the time of their commitment to Stanford.
http://www.gostanford.com/news/2017/2/8/...bound.aspx
Whereas last year I was dubious of Stanford's #1 preseason ranking, I think this year's is appropriate. I have to think Jeremy Gunn would have prevailed on Epstein to return if he didn't feel he had a capable replacement. (This statement coming completely out of my posterior, rather than with even an iota of inside knowledge.) Of course, given that a single soccer game is frequently not the best measure of the more talented team -- as has been discussed in this forum -- I think it's much more probable that they don't win NCAAs this year, even with a team that I expect to be better than last year's.