The one-word adverb someday works when describing an indefinite future time (e.g., “I’d like to see him again someday”). Some day is two words when it refers to a single day, even if that day is unknown or not specified (e.g., “I have an appointment some day next month”).
The distinction is useful, but despite its usefulness and in spite of what usage authorities say, many writers use someday and some day more or less interchangeably.
Examples
Someday
She also sees the sunflower as someday becoming the official symbol of hope for those suffering from the disease. [Cincinnati.com]
It is possible that, someday, the schools, libraries, fire stations and park pavilions built in 2010 will be seen as the best and most carefully designed of the decade. [Wall Street Journal]
Some day
It might be some day in the not too distant future. [ESPN]
One day in the future, near or far I don’t know, but some day down the road, Eagles’ fans will look back and long for the days of Andy Reid. [NJ.com]