A term marriage was a popular option for marriage in the Federation in the 23rd century.
History and specifics
In 2269, Leonard McCoy said that his marriage to Jocelyn Treadway was short enough it should have been a term marriage. (TOS novel: Vulcan!)