Not if it's slotted posts! Ours go right down the middle of where the line should be. That's not where it was when I started - the old dear who lived here before us had been encroached on considerably over the years, leaving us nearly a foot short on one side (well, both, but the other side isn't due for replacement yet - I'll cross that bridge when we come to it).
When I needed to replace the fence I talked nicely to Lynn and ran a string from the join between our houses to the midline of the paired garages and she was happy enough with that, particularly since I was doing the work and paying for it. It certainly looks a lot better with a straight fence instead of a dogleg.