Use IIf() function.

IIf(Role="A", A_Due_Date, B_Due_Date)

But if a record can have only one role, why have two Due Date fields?