This is where the answer gets nuanced.
After the war, Sasuke is pardoned for his crimes (largely thanks to Naruto’s advocacy). He doesn’t immediately stay in the village. Instead, he embarks on a journey of atonement, traveling the world. But he does return regularly—and by the time of Boruto , he is a recognized protector of the Leaf, even if he spends much time away on missions.
It is here that Sasuke truly "comes back." He apologizes to Sakura and accepts the help of his teammates, letting go of his hatred.
Sasuke’s relationship with his home village spans several distinct phases across the franchise: