The text says that the spin momenta of those electrons cancel each other so S=0.
The text also says that the orbital momenta of those electrons cancel each other so L=0.
But, if there are electrons with quantum numbers (l1,s1) and (l2,s2), using S-L coupling, the L=l1+l2,l1+l2-1,...\l1-l2\...