Short answer: Yes.
Short answer: Yes.
Long answer: No. A sailboat can tack upwind because it uses a keel, daggerboard, or centerboard as leverage against the water. Raise the centerboard on a sailboat, and it will only go directly down wind.
Since there is nothing for an analogous keel to work against in space, you cannot tack upwind.
If said spacecraft had another means of propulsion, such as a solar powered ion engine, or some such, that could be used for upwind or cross wind maneuvering, but that wasn't the question.