Yes, you can withdraw from your RRSP before you retire. However, there will be an immediate tax deduction on the withdrawn amount. You will also lose the contribution room you originally used.