Greetings!
Yes, the doors on this Samsung refrigerator model can be removed/detached. The depth of the refrigerator when the doors are removed is 29 1/4 inches.
I have shared this model's user manual link below. Please turn to pages 19 - 22 for steps in removing and attaching the doors.
https://downloadcenter.samsung.com/content/UM/202002/20200201091442956/SBS_RS5300T_DA68-03958J-01_EN-MES-CFR.pdf
Should you need more assistance, please feel free to get back to us via the following options:
1. Facebook Messenger: http://m.me/samsungsupport
2. Twitter: https://twitter.com/messages/compose?recipient_id=18768513
3. Samsung Community: https://us.community.samsung.com/t5/Samsung-Community/ct-p/us
When you message us, please provide us with this reference number 1146825859 to help our team pull up your information.
Leo