Depending on your preferences and circumstances, either could be suitable as they both have pros and cons. Digital pianos can be a little quieter when using headphones which may suit your accommodation and they often have more than one sound possible, e.g. organ. They also do not require tuning. On the other hand acoustic pianos of wood, felt and string feel like living beings each with their own individual personality. The sound resonates and emanates through the entire instrument and the touch is mechanical and can only be mimicked by digital keyboards. I would always recommend choosing an acoustic piano if you have the option as the experience is unmatched.