Jennifer Garner has officially filed for divorce from Ben Affleck after years of attempting to reconcile.