Although the ousted leader submitted his resignation Monday it will not be valid until parliament votes to accept it .