Yes, and the key point is why this is true. It is true because, as the Wikipedia article gianeshwar linked to says, if the electron is confined to a finite region of space (as it is if it is in a bound state), then the wavelength of its wave function can only assume discrete values, corresponding to some integral number of standing waves in the finite region of space (the fact that it must be an integral number of standing waves is what makes the values discrete). The discrete allowed values of energy are a consequence of the discrete allowed values of wavelength (actually of frequency, which is determined by wavelength).
If the electron is free, it can be anywhere in space, and so its wavelength can assume any value at all. Therefore, its frequency and hence energy can also assume any value at all.
No, this is not the same. The kinetic energy of the ball on the spring varies continuously; it does not jump discretely from one value to another. The ball on the spring is a classical system, not a quantum system. The electron in an atom is a quantum system, and its energy does not vary continuously.