Yes, but you must use a 'retirement account trust' or an irrevocable trust with specific beneficiaries. A qualified plan funds are protected within your lifetime. Thereafter the trust shelters the funds from your own and your beneficiaries’ creditors. You may designate your children or any other party as the residual beneficiaries.
Can I use a trust to ensure that my spouse and children receive my retirement account free from creditor claims?