"Can" is a modal verb, and this limits its usage somewhat. For example, it's impossible to use it if there's already another auxiliary verb.
eg. "will be able to" ("will can" is not possible)
"have been able to" (I can't even see where it's possible to add "can" here)
Of course, in simple situations it may be possible to use either.