This cannot be done automatically in Word. The best you can do is set a
fixed value for line spacing (and make any Spacing Before/After integer
multiples of that value), but it won't look very good.
On the other hand, Publisher can do it; see this article: