Yes, in general. The two conditions for a force to be conservative--
that it depends only on , and that
(the latter is equivalent to the condition that work done is independent of
path) -- are separate conditions, and if either one is violated, then the
force is non-conservative.