Quantum mechanics postulates that you cannot determine the position of the electron without a collapse of the system. In other words, you cannot know the position exactly, the best thing you can do is give a probability that the electron will be at a certain position.
All possible position of the electron is spread out around the nucleus with a certain probability density. The time-averaged position of the electron then is the position with the highest probability an electron will take up when averaged over time.