Yes, you can use 529 funds for rent either on-campus (considered room and board) or off-campus, only if the student is enrolled at least half-time.