the farther away from the sun the day must be longer.
takes longer to orbit the sun
All planet's years are longer than their days except for Venus.You probably meant to ask which planet's day is longer than its year, and the answer is Venus.
Venus "sidereal day" is longer than its year. Mercury's "solar day" is longer than its year. However, there is no planet in our solar system with a day longer than our year on Earth.
its farther way from the sun
On the planet Venus - it takes longer for Venus to make one rotation than it does for it to go around the sun once, so Venus' day is LONGER than it's year. Imagine that?
Astronomers refer to a planet's orbital period as its year. On that basis Mars does have a longer year than Earth.
Yes, that is the case on Venus