Yes affect, but the proportion is really very difficult to establish. For reduce the uncertainty, the welding work need to be make by an certificate welder.
I think that distorsions induced by welding which come from the internal stresses generated by the high temperatures involved by the process, mainly cause problems in the expected functionality of the manufactured part. For example, a door that does not close due to distorsions, an assembly that cannot be realized due to parts misalignments, unsightly flatness problems on metal sheets constituting the sides of railway cars, etc.
But, on the other hand, welding residual stresses can very significantly affect the safety factor and should be taken into account during the design stage.