This is not a Miscellaneous Non-Financial Question.
If the window recess is 5' wide then you will want a pole that extends beyond that on each side to some extent. No hard and fast rules about how much because it depends on the window, room, curtains, finials (the yokes on the end) etc. Normally you buy them bigger anyway and cut to size unless they happen to be exactly what you want.