Yes, you need a valid passport to apply for German citizenship. You must have valid documents for the entire duration of the naturalization process in Germany.