Electrochemical deposition: the concept of residence times in structure development