Yes go for it.   It supports both form factors 2230 and 2280  Plus you have 2 m.2 Slots so your current Drive can act as a secondary storage.  You can simply install your Samsung drive.  Clone and WIPE your current Drive using Samsung's Data migration utility (only for Samsung drive)     Service manual  [URL]  
Hello there, I would like to ask if it is possible to remove the default SSD M.2 2230 from my inspiron 5501 in order to use a new SSD M.2. 2280 (Samsung Evo 970) as my main disk (for OS etc). Thank you.
New SSD M2 2280 for Inspiron 5501 15"