This wont change a thing. Regardless who her successor is, be it a brexiteer or a remainer, the country, and the house is split on what to do about Brexit.
The next PM will try to bring yet another withdrawal agreement to the house, and for all the same reasons it'll get rejected.
The only upside that may come out of this, is that we'll get another vote about leaving. Then one way or another everyone will be forced to agree about what to do next.