After December of the year you turn 71 you can contribute, up to your RRSP deduction limit, to a spousal RRSP or common-law partner RRSP, if your spouse or common-law partner is 71 or younger on December 31 of the year you make the contribution.
For more information, see Contributing to your spouse's or common-law partner's RRSPs.