Does a Car Have to Be Running to Use an OBD2 Scanner?

Does a Car Have to Be Running to Use an OBD2 Scanner?