Yes, according to the theory of general relativity, gravitational time dilation predicts that time moves slower in stronger gravitational fields. Therefore, time on Earth, which has a significant gravitational field compared to space, would appear to pass slightly slower than in space.
However, the effect of time dilation between Earth and space is relatively small and only becomes significant in extreme gravitational conditions such as those near black holes or in highly precise measurements. The time difference between Earth and space is not noticeable in our everyday experience or in the time it takes for light to travel from the Sun to Earth.
The time taken for light to travel from the Sun to Earth, known as the light travel time, is not affected by gravitational time dilation. Light travels at a constant speed in a vacuum, regardless of the gravitational field it passes through. Therefore, the light travel time is not affected by the time dilation between Earth and space.