For a pickleball serve, it's considered out if the ball lands within or on the kitchen line. For a serve to be valid, it must land beyond this line and can hit the centerline or sideline within the bounds of the court.
Following the execution of the serving shot, the ball landing on the kitchen line, even after the return of the serve shot, is legal, just like the other lines on the court.