You'd also have to use the same slicer settings, similar room conditions, make sure that you have the same filament roll (assuming it's an FDM printer), make sure that nothing hardware wise was tweaked (eg. fixing belt tension), make sure nothing software wise was tweaked (it's nuts how much difference temp can make), make sure nothing firmware wise was tweaked, and the nozzle cant have had too many prints between the suspicious one and now (or like half of a glow in the dark or carbon fiber filled print).
Edit: and same print orientation, just turning the part direction in the slicer causes different artifacts, in extreme cases I've seen a part facing one way fail, but a quarter turn right or left prints flawlessly.