Edinho, who played as a goalkeeper for his father's former club Santos, served a jail sentence for drug trafficking between 2005 and 2006. At the time, he admitted to being a drug addict but denied trafficking charges.
He was found guilty of money-laundering on Friday by a judge in the beachside city of Praia Grande. Four other men accused of being part of the same gang received similar sentences.
Edinho, whose real name is Edson Cholbi do Nascimento, is expected to appeal against the judge's decision but must hand over his passport to the authorities. He may be preventively arrested while a higher court considers his appeal.
Edinho, 43, currently works as a goalkeeping coach for Santos. His lawyer was not immediately available for comment.
Pele, widely regarded as the best footballer of all time, helped Brazil win the World Cup three times.
Brazil is hosting this year's World Cup from June 12-July 13.