Most often this is done in a hospital. It can also be done at a freestanding center. Ambulatory surgery gets you in and out quickly. The patient has a good deal of choice as to when the surgery will occur. The surgery is scheduled by appointment for patient convenience.
Most people prefer healing at home in their own beds to staying in a hospital.
The home can be a more comfortable place in which to heal than a hospital with its hectic schedules. Medical bills are much lower if you don't have to stay in a hospital overnight. Follow your doctor's orders exactly. You may need someone to drive you home and stay with you as you recover. Do not bring valuables with you when you have outpatient surgery.