The Breaking Bad and Life in Pieces alum will play Jim's best friend and mother of his child in the pilot Jefferies, loosely based on the comedian's life.