Yes, you may be able to collect Social Security benefits based on your ex-spouse's earnings record if you were married for at least 10 years and you are currently unmarried.