It depends on the operating system. Older versions of Windows can be installed on top of previous installations. In Windows Vista and Windows 7 folders that would be overwritten (Windows, Program Files, Users, etc...) will be moved to a backup folder.
Installing an OS without wiping the hard drive is not recommended however.