Child contracts can use state variables and/or namespaced storage. Just note that if you use state variables, the state variables in your contracts won't have the benefits of namespaced storage and those benefits will only apply to the v5 contracts that you import.