Most likely it's territory marking, not just not knowing how to use the litter box. Cats do this when they're stressed, jealous, or just want to "claim" the smell in the house as their own. Try putting a second litter box right in the living room next to the couch - sometimes animals hate using the toilet in one place and living somewhere else. If it's stress, the problem might go away once the cat realizes there's a litter box in his "living zone."
From there, play it by ear. Treat the couch with something that covers up the cat smell (not just a cleaner, but a special enzymatic one) - otherwise the cat will smell his own scent and keep going there. After treating it, you can put foil or a special anti-cat mat on that spot - they usually avoid textures that feel unpleasant on their paws.
If nothing changes after you put the box in the living room, think about what might have scared the cat or thrown him off balance over the last few months - new people in the house, renovations, rearranging furniture. Sometimes pheromones help (like Feliway) - you spray it near the litter box and couches, and the cat becomes calmer. But if time's passed and nothing works, it makes sense to take him to a cat behaviorist rather than just a regular vet.