In general, if the water you're using tastes good then it will produce good beer. Style-wise I don't think that it makes much difference, and by using the same water you're eliminating one variable.
The main concerns you have with water are:
- Mineral content
- Chemical content
Yeast require some minerals to reproduce and be healthy; since distilled water removes all minerals then you would need to add a nutrient supplement if you're using distilled water. On the inverse, well water may be high in minerals you don't want.
If you're using city water then the added chemicals may be of concern; using a carbon filter will remove many of these and is highly advisable if your water has a strong chemical odor or flavor, or isn't clear (fill your bathtub with clear water; if the water is tinted then it's likely chemicals).
Overall though, you should choose a baseline water source and stick with it. If you advance to the point of wanting to tweak your water, then you're entering into the organic chemistry realm and getting pretty far up the ladder in terms of advanced brewing.