Trump can give anyone clearance, at his discretion. Petraeus would however need permission from his probation officer to come to D.C., and his PO might balk at letting him take a job with an active criminal enterprise while still on probation. It’s like someone on parole for dealing cocaine asking their parole officer…