There are several requirements that must be met before someone can participate in an employer's 401K Plan. One of those requirements is that you must be "actively" employed. If you are currently retired, no matter under what circumstances, then you would not be eligible to participate, even though you are still receiving compensation under your employment contract.
If this was helpful please press the Accept button. Positive feedback is also appreciated.