What is the difference between the correlation coefficient and residuals when talking about the line of best fit?

With the correlation coefficient, I know you want your number to be close to 1 or -1.

So when talking about residuals, what is considered a "good" number, or a "good fit"?