No, because everyone has different experience levels from their histories
Also, when women take off for maternity level they are loosing work experience. If both sexes have the exact same background and amount of experience then yes they should be paid the exact same amount.