There's really no benefit to sealing the joint between the CBU and the ceiling, although you can if you want. I usually just tile up to about 1/8" from the ceiling, then caulk the tile to the ceiling with painter's caulk. It can then be painted to match the ceiling. Alternately, you can use color-matched grout caulk.
_________________________
The top ten reasons to procrastinate:
1.