Time-dependent Hartree-Fock theory of resonances in sodium