Recuperation times really depends on what is done to your shoulder. Figure a minimum of 6 weeks to allow healing of incisions and suture points. Good physical therapy will help range of motion return sooner after surgery.
The big problem is unexpected strain on the incisions and suture points before they heal. Second problem is theoretical decompression alterations in tissue ongassing and offgassing that could increase the risk of DCS. I dove 6 weeks after my shoulder surgery on a liveaboard without any problems (the shoulder was still a bit limited in mobility, but no increase in pain)
Best shoulder surgeon is Andrews in Alabama. Good luck.