The simple answer is No. You don’t have to go to church.
But you do have to be part of the body of Christ. And the very best way to be part of the body is to create intentional and purposeful opportunities to build relationships with others in the body. That is best done through serving and worshiping alongside one another.
You can do this in a variety of ways, however, the simplest way is to discipline yourself to attend a weekly gathering where you have the opportunity to engage and serve with members of the body whom you wouldn’t normally encounter in your day to day life.