im cam, a licenced diagnostic tech.
there are 2 areas that could cause this.
1. the drivers door lock switch on the back of the tumbler. (this is what i think your problem is, as water get in it and corrodes it) . you will have to remove the door skin cover to access the door lock tumbler and disconnect it. if the problem stops, than the switch will need to be replaced.
2. power window reset procedure.
this will also require removal of the cover as there is a reset button on the back of the window motor itself.
Reset the limit switch by raising the glass to the top position. Then press and hold the reset switch that is on the power window motor (door panel removed) and lower the glass to the bottom position (don't use the automatic portion of the power window switch). Release the reset switch and verify that the reset switch returned to its original position. Then raise the glass to the top position and verify window operation.
Either way, your door skin cover will need to be removed for inspection of the door lock switch and window motor.
i have a ffeeling your problem is in your door switch as these are bad for corrosion