The orbital evolution of NEAs and the resonances with Jupiter