No, but it helps look better if the stem is parallel with the top tube. Gives it a clean look, if you can.
Is your top tube level? Or, slanted? If level, the 17deg will be perfect. If slanted (compact), it will look a little odd.
You realize all this
really doesn't matter though.