Friends of mine I know personally live 15-30 minutes away, we have different work schedules, etc. When we're home we might want to play a game together but not want to waste the time and money driving to each others home.
There are also games that I like to play that I my friends might not like. There's no other way to get a good multiplayer experience without my online friends in those occasions.