Friction is the most common nonconservative force we will encounter. The work done by friction, like that of any nonconservative force, is not independent of the path taken in moving an object between two points. The work done against friction may be different for different paths!
No potential energy can be written or defined or calculated for a nonconservative force.
(c) Doug Davis, 2001; all rights reserved