An existence result for a linear abstract stochastic equation in Hilbert spaces