You may know someone who had hip or knee replacement surgery and went home the same day. In the past, hip and knee replacement surgery required a hospital stay lasting several nights. With advances in procedural techniques, anesthesia medications, pain management and rehabilitation, some people can now have a joint replacement surgery without spending a night in the hospital.