You must be enrolled in both Medicare Part A and Part B.
Medigap policies cover one person, so spouses each need their own policy. That also means you and your spouse can choose different plans or different insurance companies.
The best time to buy is during your Medigap Open Enrollment Period, which lasts 6 months and starts the first month you are both 65 or older and enrolled in Part B.