Frictional forces are not conservative forces because the amount of work done by friction depends on the path. One can associate a potential energy with a conservative force but not with a non-conservative force. A conservative force is one for which the work done is independent of path.