The Career Doctor responds:
It totally depends on how you left your old job and your relationship with your old boss. Have you been keeping him or her informed of your progress? Did you leave on good terms? Did you have a good working relationship with your old boss?
Assuming a “yes” answer to all the above questions then definitely contact your old boss about a recommendation. There is no time limit or expiration on recommendations.