Qualified 401(k) Distribution

Can I take a distribution from my Qualified 401(k) for the prior year or does it apply as income the year it is taken?