No it doesn't matter, the output is AC anyway, and is rectified to give DC.
It WOULD matter though in a dynamo, where the rectification is done mechanically (by the brushes/commutator).
In fact with a dynamo on an old car you can reverse it's polarity simply by reversing the car battery and pulsing the field coil, to make it's residual magnetism the other way round.