We pulled from 401k because i lost my job. Do we have to pay the taxes on it still?

can we pay the 10% over 3 years?