Your tax return is the form you send to the government that shows your income and calculates your tax. The money the government sends back to you is your refund.
The amount of your refund has nothing to do with how long you worked. Your tax return calculates your total tax for the year. The tax that you had withheld from your pay during the year is applied to the total tax on your tax return. If the amount you had withheld is more than your total tax, you get a refund of the excess. So the amount of your refund depends on how much your total tax is, and how much you had withheld.