Yes. If either witnesses a crime or accident, they are a precipient witness and can/will be subpoenaed to appear in court.
Per Judicial Canons (Rules) it is an ethical violation for a Judge to appear in a civil case, as a character witness, without being subpoenaed.