It depends on the jam hosts who are organizing the jams.
In general there are four type of game jams, one where only the submitters can vote, one where only submitters and contributors can vote, on where only judges vote, and only where public can vote.
It depends on the host to select the mode, they can even decide to have the jam manually rated, i.e., no voting.
Hope it clarifies.