You cannot qualify on a spouse's record if the spouse is not entitled to benefits or deceased. So if your living spouse has not yet been approved for a retirement or disability claim, you cannot qualify for anything on the spouse's record. Once the spouse reaches retirement age and files a claim for benefits and is approved, then you can file on their record, not before. You would have to be age 65 to be on Medicare and entitled to SS benefits.
The answer to your original question is yes, but you didn't give enough information to tell you how it affects you.