Jennifer Garner has reflected on her "hard" divorce from Ben Affleck and her gratitude for their friendship now.