You will need to request that an absentee ballot be mailed to you. Election laws vary from state to state so contact your local Board of Elections before you leave. Here is a web site that has details about requirements for an absentee ballot for each state.