Non-citizens can contribute to U.S.-based retirement accounts, including 401(k) plans and IRAs. To qualify, you must be legally living and working in the U.S.