If I get gum surgery for spaces on my bottom teeth, would I need to redo invisalign? I'm currently on retainers and thinking of redoing invisalign

Everyone's different. What works for someone else may or may not be applicable for you. You have a complex problem requiring sophisticated treatment, straining the training/experience of even the most well qualified GP. Seek consultation with both gum specialist, Periodontist, and tooth alignment specialist, Orthodontist, who will partner with your GP to provide you with best choices.
Yes, redo Invisalign. Once you involve orthongathic surgery, your case becomes much more complicated. Most orthodontic treatments are completed within six to 12 months following surgery.